package com.ieng.ormosia.connect.mapper;

import com.ieng.ormosia.connect.model.Role;

import java.util.List;

public interface RoleMapper {

	List<Role> selectAll();

	List<Role> select(Role role);

	List<Role> selectDeletedList();

	Role selectByPrimaryKey(Long id);

	int insert(Role role);

	int update(Role role);

	int updateDeleted(Long id);

	int deleteByPrimaryKey(Long id);

}